import request from '@/utils/request'

export default {
  // 查询课程展示信息
  getCoursePublishInfo(courseId) {
    return request({
      url: `/eduService/course/getCoursePublishInfo/${courseId}`,
      method: 'get'
    })
  },

  // 发布课程
  publishCourse(courseId) {
    return request({
      url: `/eduService/course/modifyCourseStatus/${courseId}`,
      method: 'post'
    })
  }

}
